package week9.q1;

public class Animal {

    private int age;

    public Animal() {}

    public Animal(int age) {
        this.age = age;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String info() {
        return "我今年"+age+"岁了";

    }
}
